<?php
/*
Plugin Name: WP_Pumpeddevs Book Title Menu
Plugin URI: http://www.pumpeddevs.com
Description: 
Version: 1.0.0
Author: Pumpeddevs
Author URI: http://www.pumpeddevs.com
*/

defined('ABSPATH') or die("Page not found");


add_action( 'widgets_init', function(){
	register_sidebar(array(
		'name'=>'Book Title',
		'id'=>'booktitle',
		'before_widget'=>'<div></div>',
		'after_widget'=>'</div>',
		'before_title'=>'<h2 class="rounded">',
		'after_title'=>'</h2>'		
	));	
	
	register_widget( 'Pumpeddevs\TheNewBasics\BookTitleList\BookTitleListWidget');
});	

function booktitlelist_ajax() {
	$booktitlelist = new Pumpeddevs\TheNewBasics\BookTitleList\BookTitleListController();
}
add_action('admin_init','booktitlelist_ajax');